﻿@using publicLibrary
@using asMeishi.web.Models;
@using asMeishi.web.Classes;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name= "keywords" content="美食,吃货,鞍山,鞍山美食,鞍山饭店,鞍山有什么好吃的,鞍山特食美食,鞍山生活,鞍山数字生活,鞍山吃货，鞍山川菜,鞍山水煮鱼,鞍山烧烤,鞍山火锅"/> 
    <title>鞍山美食印象  @ViewBag.Title</title>
    <link href="@Url.Content("~"+baseConfig.siteThemePath+"css/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~" + baseConfig.siteThemePath + "css/main.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~" + baseConfig.siteThemePath + "css/public.css")" rel="stylesheet" type="text/css" />
   <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
   <script src="@Url.Content("~/Content/script/UI.js")" type="text/javascript"></script>
   <script src="@Url.Content("~/Content/script/starRate-Jquery.js")" type="text/javascript"></script>

   <script src="@Url.Content("~/Content/script/publicScript.js")" type="text/javascript"></script>


   @RenderSection("head",false)
    @*
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    *@
</head>
<body>
        <div id="header">
            <div class="page" style="position: relative; padding:10px 0px;">
                <img src="/Content/themes/metro/images/siteTitle.png" style=" float:left; margin:10px" />
                <div id="title" >
                @*<h4>当前路由 @Html.getRoute(routeKeyEnum.area) @Html.getRoute(routeKeyEnum.controller) @Html.getRoute(routeKeyEnum.action)</h4>*@
                
                    @{
                        shopC sc = new shopC();
                        IEnumerable<shop> ss = sc.getByUserByUnrelease(userC.loginUser);
                        if(ss.Any()){
                            <div>未完成的店:
                                @foreach (var s in ss) { 
                                    <a href="/shop/Create?shopId=@s.Id.ToString()">@s.name</a>
                                }                            
                            </div>
                        }
                        
                        }
                        

                
                </div>

                <div id="logindisplay">
                    @Html.Partial("_LogOnPartial")
                </div>


                    

                </div>
                <div class="header-bottom sbcolor clearFloat page">
                        <ul id="menu">

                            <li>@Html.ActionLink("查询搜索", "shopSift", "shop")</li>
                            <li><a href="/shop/Create">录入新食场</a></li>
                            <li>@Html.ActionLink("随便看看", "Main", "Home")</li>

                            <li>@Html.ActionLink("首页", "Index", "Home")</li>

                            <li>||</li>
                            <li class="manageMenu" onmouseover="$('#manageMenuBar').show()" onmouseout="$('#manageMenuBar').hide()" style="position:relative; z-index:1000">@Html.ActionLink("管理", "#", "#")
                               @if(userC.loginUser.group=="100"){
                               <ul id="manageMenuBar" style=" position:absolute; top:30px; right:0px; background:#666; display:none; width:800px;">
                                    <li>@Html.ActionLink("点评M", "Index", "comment")</li>
                                    <li>@Html.ActionLink("用户M", "Index", "user")</li>
                                    <li>@Html.ActionLink("商店M", "Index", "shop")</li>
                                    <li>@Html.ActionLink("菜M", "Index", "item")</li>
                                    <li>@Html.ActionLink("字典M", "Index", "dict")</li>
                                    <li>@Html.ActionLink("成长体系", "Index", "actions")</li>
                                </ul>
                                }
                            </li>

                        </ul>
                    </div>                
            </div>
            


    <div class="page">


        <div id="main">
        
            @RenderBody()

        </div>
        <div id="footer" class="sbcolor" style=" position:relative; bottom:0px; ">
            
        </div>
        @Html.Partial("../Home/footer")
    </div>
</body>
</html>
<script>
    baseConfig.siteThemePath = "@baseConfig.siteThemePath"
</script>
   <script src="/Content/Components/lightbox2/jquery.lightbox.js" type="text/javascript"></script>
   <link href="/Content/Components/lightbox2/jquery.lightbox.css" rel="stylesheet" type="text/css" />